#ifndef GTOUCH_H
#define GTOUCH_H

#define GRectTouched(X1, Y1, X2, Y2) ((Stylus.X >= X1) && (Stylus.X <= X2) &&\
 (Stylus.Y >= Y1) && (Stylus.Y <= Y2))
u8 PadNewpress(char button);
u8 PadHeld(char button);
u8 PadReleased(char button);
void GTouchInit();
u8 GTouch(u8 noblock = 0);
u8 GTouchStillHeld(u8 noblock = 0);

//int GRectTouched(int X1, int Y1, int X2, int Y2);

#endif
